package com.gopay.common.domain.cps.transfer;

import java.math.BigDecimal;

import com.gopay.common.cipher.utils.SensitiveInfoUtils;
import com.gopay.common.domain.BaseEntity;
import com.gopay.common.domain.dps.WaActivityCountDetail;
import com.gopay.common.domain.dps.WaActivityManage;

/**
 * 单笔付款到国付宝到国付宝VO
 * 
 * @TransferToGayVo.java
 * @author liuxin
 * @2013-1-17 上午9:52:42 www.gopay.com.cn Inc.All rights reserved.
 */
public class TransferToGopayVO extends BaseEntity {
    private static final long serialVersionUID = 1L;
    
    /**
     * 发起人客户ID
     */
    private String payCustId;

    /**
     * 转出账号Email
     */
    private String transferOutEmail;
    
    /**
     * 转出custId
     */
    private String outCustId;
    
    /**
     * 转出国付宝账号
     */
    private String transferOutAcctId;
    
    /**
     * 转出国付宝账户名
     */
    private String transferOutAcctName;
    
    /**
     * 发起人userId
     */
    private String applyUserId;
    
    /**
     * 转出bcFlag 1企业2个人
     */
    private String outBcFlag;

    /**
     * 转入账号Email
     */
    private String transferInEmail;
    private String transferInMob;

    /**
     * 转入客户名
     */
    private String transferInCustName;

    /**
     * 转入国付宝账号
     */
    private String transferInAcctId;
    
    /**
     * 转入客户号
     */
    private String inCustId;
    
    /**
     * 转入bcFlag 1企业2个人
     */
    private String inBcFlag;

    /**
     * 转账金额
     */
    private BigDecimal tranAmt;

    /**
     * 备注
     */
    private String remark;
    
    /**
     * 审批员
     */
    private String auditUserId;

    /**
     * 支付密码
     */
    private String payPwd;

    /**
     * 审批
     */
    private boolean approval;

    /**
     * 审批拒绝原因
     */
    private String refuseReason;
    
    /**
     * task ID
     */
    private int taskId;

    /**
     * 手续费
     */
    private BigDecimal feeAmt;

    /**
     * 国付宝订单号
     */
    private String gopayOrderId;
    
    /**
     * 步骤 1 2 3
     */
    private String step;
    
    /**
     * 返回处理码
     */
    private String respCode;
    
    /**
     * 返回处理信息
     */
    private String respMsg;
    
    /**
     * 国付宝交易时间
     */
    private String gopayTxnTm;
    private String clientIp;
    private String sessionId;
    
    /**
     * 是否添加收款人
     */
    private boolean addPayer;
    
    /**
     * 子交易类型
     * zhoupeng 20170823
     *
     */
    private String childTranType;
    /**
     * 活动明细表
     * zhoupeng 20170823
     *
     */
    private WaActivityCountDetail waActivityCountDetail;
    /**
     * 活动管理
     * zhoupeng 20170823
     *
     */
    private WaActivityManage waActivityManage;

    
    public WaActivityCountDetail getWaActivityCountDetail() {
		return waActivityCountDetail;
	}

	public void setWaActivityCountDetail(WaActivityCountDetail waActivityCountDetail) {
		this.waActivityCountDetail = waActivityCountDetail;
	}

	public WaActivityManage getWaActivityManage() {
		return waActivityManage;
	}

	public void setWaActivityManage(WaActivityManage waActivityManage) {
		this.waActivityManage = waActivityManage;
	}

	public String getChildTranType() {
		return childTranType;
	}

	public void setChildTranType(String childTranType) {
		this.childTranType = childTranType;
	}

	public String getTransferOutEmail() {
        return transferOutEmail;
    }

    public void setTransferOutEmail(String transferOutEmail) {
        this.transferOutEmail = transferOutEmail;
    }

    public String getTransferInEmail() {
        return transferInEmail;
    }

    public void setTransferInEmail(String transferInEmail) {
        this.transferInEmail = transferInEmail;
    }

    public String getTransferInCustName() {
        return transferInCustName;
    }

    public void setTransferInCustName(String transferInCustName) {
        this.transferInCustName = transferInCustName;
    }

    public String getTransferInAcctId() {
        return transferInAcctId;
    }

    public void setTransferInAcctId(String transferInAcctId) {
        this.transferInAcctId = transferInAcctId;
    }

    public BigDecimal getTranAmt() {
        return tranAmt;
    }

    public void setTranAmt(BigDecimal tranAmt) {
        this.tranAmt = tranAmt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPayPwd() {
        return payPwd;
    }

    public void setPayPwd(String payPwd) {
        this.payPwd = payPwd;
    }

    public boolean isApproval() {
        return approval;
    }

    public void setApproval(boolean approval) {
        this.approval = approval;
    }

    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }

    public BigDecimal getFeeAmt() {
        return feeAmt;
    }

    public void setFeeAmt(BigDecimal feeAmt) {
        this.feeAmt = feeAmt;
    }

    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public String getStep() {
        return step;
    }

    public void setStep(String step) {
        this.step = step;
    }

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getRespMsg() {
        return respMsg;
    }

    public void setRespMsg(String respMsg) {
        this.respMsg = respMsg;
    }

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public String getTransferOutAcctId() {
        return transferOutAcctId;
    }

    public void setTransferOutAcctId(String transferOutAcctId) {
        this.transferOutAcctId = transferOutAcctId;
    }

    public String getTransferOutAcctName() {
        return transferOutAcctName;
    }

    public void setTransferOutAcctName(String transferOutAcctName) {
        this.transferOutAcctName = transferOutAcctName;
    }

    public String getGopayTxnTm() {
        return gopayTxnTm;
    }

    public void setGopayTxnTm(String gopayTxnTm) {
        this.gopayTxnTm = gopayTxnTm;
    }

    public String getOutBcFlag() {
        return outBcFlag;
    }

    public void setOutBcFlag(String outBcFlag) {
        this.outBcFlag = outBcFlag;
    }

    public String getInBcFlag() {
        return inBcFlag;
    }

    public void setInBcFlag(String inBcFlag) {
        this.inBcFlag = inBcFlag;
    }

    public String getOutCustId() {
        return outCustId;
    }

    public void setOutCustId(String outCustId) {
        this.outCustId = outCustId;
    }

    public String getInCustId() {
        return inCustId;
    }

    public void setInCustId(String inCustId) {
        this.inCustId = inCustId;
    }

    public String getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(String auditUserId) {
        this.auditUserId = auditUserId;
    }

    public String getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(String applyUserId) {
        this.applyUserId = applyUserId;
    }

    public boolean isAddPayer() {
        return addPayer;
    }

    public void setAddPayer(boolean addPayer) {
        this.addPayer = addPayer;
    }

    public String getPayCustId() {
        return payCustId;
    }

    public void setPayCustId(String payCustId) {
        this.payCustId = payCustId;
    }

	public String getClientIp() {
		return clientIp;
	}

	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

    public String getTransferInMob() {
        //modified by zyt ,2017-5-24 返回解密，
        return SensitiveInfoUtils.smartDecryptWithCheck(transferInMob);
    }

    public void setTransferInMob(String transferInMob) {
        this.transferInMob = transferInMob;
    }
}
